#include "sensor_driver_manager.h"
#include "display_manager.h"
#include "audio_manager.h"
//#include "Debug_uart.h"
//#include "ProtocolAnalysis.h"
#include "drv_audio.h"
#include "flash_data.h"
#include "flash_melcep.h"

int8_t sensor_driver_manager_init(uint8_t mode)
{
    uint32_t err_code;

//    uart_init();
//    protocol_analysis_init();

    display_manager_init(mode);
    audio_manager_init();
//    err_code = wait_erase_timer_init();
//    APP_ERROR_CHECK(err_code);
    // 内部flashinit
    flash_data_init(true);
    flash_melcep_init(false);
    // test LCD
    //display_clear(0xF800);
    // test pdm
    //audio_manager_start();
}
